//
//  XLCustomNavigationBar.h
//  campus
//
//  Created by xl on 2019/12/13.
//  Copyright © 2019 xl. All rights reserved.
//

#import "XLView.h"


@protocol XLCustomNavigationBarDelegate <NSObject>

@optional
- (void)goBackEvents;

@end

@interface XLCustomNavigationBar : XLView

@property (nonatomic, weak) id<XLCustomNavigationBarDelegate> delegate;

- (void)setCustomNavigationBarTitle:(NSString *)title;

- (void)hideBackButton:(BOOL)hide;

- (void)titleColor:(UIColor *)color;

- (void)backButtonIcon:(NSString *)icon;

- (void)setNavigationBackgroundColor:(UIColor *)color;

@end


